Integrand size = 25, antiderivative size = 71 \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{5/2}} \, dx=\frac {\tan (e+f x)}{3 (a+b) f \left (a+b+b \tan ^2(e+f x)\right )^{3/2}}+\frac {2 \tan (e+f x)}{3 (a+b)^2 f \sqrt {a+b+b \tan ^2(e+f x)}} \]
[Out]
Time = 0.10 (sec) , antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {4231, 198, 197} \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{5/2}} \, dx=\frac {2 \tan (e+f x)}{3 f (a+b)^2 \sqrt {a+b \tan ^2(e+f x)+b}}+\frac {\tan (e+f x)}{3 f (a+b) \left (a+b \tan ^2(e+f x)+b\right )^{3/2}} \]
[In]
[Out]
Rule 197
Rule 198
Rule 4231
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {1}{\left (a+b+b x^2\right )^{5/2}} \, dx,x,\tan (e+f x)\right )}{f} \\ & = \frac {\tan (e+f x)}{3 (a+b) f \left (a+b+b \tan ^2(e+f x)\right )^{3/2}}+\frac {2 \text {Subst}\left (\int \frac {1}{\left (a+b+b x^2\right )^{3/2}} \, dx,x,\tan (e+f x)\right )}{3 (a+b) f} \\ & = \frac {\tan (e+f x)}{3 (a+b) f \left (a+b+b \tan ^2(e+f x)\right )^{3/2}}+\frac {2 \tan (e+f x)}{3 (a+b)^2 f \sqrt {a+b+b \tan ^2(e+f x)}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(215\) vs. \(2(71)=142\).
Time = 6.14 (sec) , antiderivative size = 215, normalized size of antiderivative = 3.03 \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{5/2}} \, dx=\frac {(3 a+b) (a+2 b+a \cos (2 e+2 f x))^{5/2} \sec ^5(e+f x) \left (\frac {\sqrt {2} \sin (e+f x)}{(a+b) \left (a+b-a \sin ^2(e+f x)\right )^{3/2}}+\frac {2 \sqrt {2} \sin (e+f x)}{(a+b)^2 \sqrt {a+b-a \sin ^2(e+f x)}}\right )}{48 a f \left (a+b \sec ^2(e+f x)\right )^{5/2}}-\frac {(a+2 b+a \cos (2 e+2 f x))^{5/2} \sec ^4(e+f x) \tan (e+f x)}{8 \sqrt {2} a f \left (a+b \sec ^2(e+f x)\right )^{5/2} \left (a+b-a \sin ^2(e+f x)\right )^{3/2}} \]
[In]
[Out]
Time = 3.12 (sec) , antiderivative size = 84, normalized size of antiderivative = 1.18
method | result | size |
default | \(\frac {\left (3 a \cos \left (f x +e \right )^{2}+\cos \left (f x +e \right )^{2} b +2 b \right ) \left (b +a \cos \left (f x +e \right )^{2}\right ) \tan \left (f x +e \right ) \sec \left (f x +e \right )^{4}}{3 f \left (a^{2}+2 a b +b^{2}\right ) \left (a +b \sec \left (f x +e \right )^{2}\right )^{\frac {5}{2}}}\) | \(84\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 134 vs. \(2 (63) = 126\).
Time = 0.38 (sec) , antiderivative size = 134, normalized size of antiderivative = 1.89 \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{5/2}} \, dx=\frac {{\left ({\left (3 \, a + b\right )} \cos \left (f x + e\right )^{3} + 2 \, b \cos \left (f x + e\right )\right )} \sqrt {\frac {a \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}} \sin \left (f x + e\right )}{3 \, {\left ({\left (a^{4} + 2 \, a^{3} b + a^{2} b^{2}\right )} f \cos \left (f x + e\right )^{4} + 2 \, {\left (a^{3} b + 2 \, a^{2} b^{2} + a b^{3}\right )} f \cos \left (f x + e\right )^{2} + {\left (a^{2} b^{2} + 2 \, a b^{3} + b^{4}\right )} f\right )}} \]
[In]
[Out]
\[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{5/2}} \, dx=\int \frac {\sec ^{2}{\left (e + f x \right )}}{\left (a + b \sec ^{2}{\left (e + f x \right )}\right )^{\frac {5}{2}}}\, dx \]
[In]
[Out]
none
Time = 0.18 (sec) , antiderivative size = 61, normalized size of antiderivative = 0.86 \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{5/2}} \, dx=\frac {\frac {2 \, \tan \left (f x + e\right )}{\sqrt {b \tan \left (f x + e\right )^{2} + a + b} {\left (a + b\right )}^{2}} + \frac {\tan \left (f x + e\right )}{{\left (b \tan \left (f x + e\right )^{2} + a + b\right )}^{\frac {3}{2}} {\left (a + b\right )}}}{3 \, f} \]
[In]
[Out]
\[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{5/2}} \, dx=\int { \frac {\sec \left (f x + e\right )^{2}}{{\left (b \sec \left (f x + e\right )^{2} + a\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Time = 30.12 (sec) , antiderivative size = 172, normalized size of antiderivative = 2.42 \[ \int \frac {\sec ^2(e+f x)}{\left (a+b \sec ^2(e+f x)\right )^{5/2}} \, dx=-\frac {\left ({\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}-1\right )\,\sqrt {a+\frac {b}{{\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}}{2}+\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}}{2}\right )}^2}}\,\left (a\,3{}\mathrm {i}+b\,1{}\mathrm {i}+a\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\,6{}\mathrm {i}+a\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,3{}\mathrm {i}+b\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\,10{}\mathrm {i}+b\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,1{}\mathrm {i}\right )}{3\,f\,{\left (a+b\right )}^2\,{\left (a+2\,a\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}+a\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}+4\,b\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\right )}^2} \]
[In]
[Out]